package com.test.entity;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class User {
    private  String  name;
    private  String  age;

    public String getName() {
        return name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "[User name="+this.name+",age="+this.age+"]";
    }

    public User(String name, String age) {
        this.name = name;
        this.age = age;
    }
    public User() {}
}
